
<html>
<head>
    <style>
        .user-add-form {
            margin: 10px 5px 0;
        }

        .user-add-form .layui-form-item {
            margin-bottom: 10px;
            margin-right: 100px;
        }

    </style>
    <link rel="stylesheet" href="../../layui/css/layui.css"/>
    <link rel="stylesheet" href="../../css/list.css"/>

</head>
<body>
<form class="layui-form user-add-form">
    <input type="hidden" id="adminId" value="${admin.id!}">
    <div class="layui-form-item">
        <div class="layui-inline">
            <label class="layui-form-label" STYLE="margin-left: 30px"><span style="color:red;font-size: small;">*</span>账号</label>
            <div class="layui-input-block">
                <input type="text" id="name" class="layui-input add-userName" placeholder="请输入账号"
                       style="width: 190px" <#if admin.id??>readonly="readonly"</#if> value="${admin.adminName!}">
            </div>
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-inline">
            <label class="layui-form-label" STYLE="margin-left: 30px"><span style="color:red;font-size: small;">*</span>密码</label>
            <div class="layui-input-block">
                <input type="password" id="password" class="layui-input add-userName" lay-verify="required" placeholder="请输入密码"
                       style="width: 190px">
            </div>
        </div>
    </div>

    <div class="layui-input-block">
        <button type="button" id="sub" class="layui-btn" lay-filter="addNews">立即提交</button>
        <button type="reset" class="layui-btn layui-btn-primary">重置</button>
    </div>
</form>
<script type="text/javascript" src="../../layui/layui.js"></script>
<script type="text/javascript" src="../../js/admin/list.js"></script>


</body>
</html>
